package com.tjing.bussiness.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.alibaba.fastjson.annotation.JSONField;
import com.tjing.frame.annotation.FieldDesc;

@Entity
@Table(name = "math_quryask")
@org.hibernate.annotations.Table(appliesTo = "math_quryask", comment = "")
public class MathQuryask {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id", columnDefinition = "INT COMMENT ''")
    private Integer id;

    @Column(name = "pid", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer pid;

    @Column(name = "Type", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer type;

    @Column(name = "IsMy", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer isMy;

    @Column(name = "Lessonid", length = 200,columnDefinition = "VARCHAR(200) COMMENT ''")
    @FieldDesc(comment = "")
    private String lessonid;

    @Column(name = "Sectionid", length = 200,columnDefinition = "VARCHAR(200) COMMENT ''")
    @FieldDesc(comment = "")
    private String sectionid;

    @Column(name = "Subid", length = 200, columnDefinition = "VARCHAR(200) COMMENT ''")
    @FieldDesc(comment = "")
    private String subid;

    @Column(name = "Stuid", length = 100, columnDefinition = "VARCHAR(100) COMMENT ''")
    @FieldDesc(comment = "")
    private String stuid;

    @Column(name = "SectionCont", columnDefinition = "TEXT COMMENT ''")
    @FieldDesc(comment = "")
    private String sectionCont;

    @Column(name = "Knowid", length = 500, columnDefinition = "VARCHAR(500) COMMENT ''")
    @FieldDesc(comment = "")
    private String knowid;

    @Column(name = "Leave1", length = 5, columnDefinition = "VARCHAR(5) COMMENT ''")
    @FieldDesc(comment = "")
    private String leave1;

    @Column(name = "Note", columnDefinition = "TEXT COMMENT ''")
    @FieldDesc(comment = "")
    private String note;

    @Column(name = "ArbNote", columnDefinition = "TEXT COMMENT ''")
    @FieldDesc(comment = "")
    private String arbNote;

    @Column(name = "AskMp3", length = 500, columnDefinition = "VARCHAR(500) COMMENT ''")
    @FieldDesc(comment = "")
    private String askMp3;

    @Column(name = "AskImg", length = 500, columnDefinition = "VARCHAR(500) COMMENT ''")
    @FieldDesc(comment = "")
    private String askImg;

    @Column(name = "AskNote", length = 1000, columnDefinition = "VARCHAR(1000) COMMENT ''")
    @FieldDesc(comment = "")
    private String askNote;

    @Column(name = "AskVideo", length = 500, columnDefinition = "VARCHAR(500) COMMENT ''")
    @FieldDesc(comment = "")
    private String askVideo;

    @Column(name = "AskJson", length = 2000, columnDefinition = "VARCHAR(2000) COMMENT ''")
    @FieldDesc(comment = "")
    private String askJson;

    @Column(name = "Vconurl", length = 300, columnDefinition = "VARCHAR(300) COMMENT ''")
    @FieldDesc(comment = "")
    private String vconurl;

    @Column(name = "AskZsd", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer askZsd;

    @Column(name = "AskXx", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer askXx;

    @Column(name = "IsNowSta", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer isNowSta;

    @Column(name = "CreateUser", length = 50, columnDefinition = "VARCHAR(50) COMMENT ''")
    @FieldDesc(comment = "")
    private String createUser;

    @Column(name = "CreateUserName", length = 50, columnDefinition = "VARCHAR(50) COMMENT ''")
    @FieldDesc(comment = "")
    private String createUserName;

    @Column(name = "CreateUserImg", length = 255, columnDefinition = "VARCHAR(255) COMMENT ''")
    @FieldDesc(comment = "")
    private String createUserImg;

    @Column(name = "CreateDateTime", columnDefinition = "DATETIME COMMENT '创建时间'")
    @FieldDesc(comment = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDateTime;

    @Column(name = "ModifUser", length = 50, columnDefinition = "VARCHAR(50) COMMENT ''")
    @FieldDesc(comment = "")
    private String modifUser;

    @Column(name = "ModifDatetime", columnDefinition = "DATETIME COMMENT '更新时间'")
    @FieldDesc(comment = "更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifDatetime;

    @Column(name = "State", columnDefinition = "INT COMMENT ''")
    @FieldDesc(comment = "")
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getKnowid() {
        return knowid;
    }

    public void setKnowid(String knowid) {
        this.knowid = knowid;
    }

    public String getLessonid() {
        return lessonid;
    }

    public void setLessonid(String lessonid) {
        this.lessonid = lessonid;
    }

    public String getSectionid() {
        return sectionid;
    }

    public void setSectionid(String sectionid) {
        this.sectionid = sectionid;
    }

    public String getSubid() {
        return subid;
    }

    public void setSubid(String subid) {
        this.subid = subid;
    }

    public String getStuid() {
        return stuid;
    }

    public void setStuid(String stuid) {
        this.stuid = stuid;
    }

    public String getSectionCont() {
        return sectionCont;
    }

    public void setSectionCont(String sectionCont) {
        this.sectionCont = sectionCont;
    }

    public String getLeave1() {
        return leave1;
    }

    public void setLeave1(String leave1) {
        this.leave1 = leave1;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getAskImg() {
        return askImg;
    }

    public void setAskImg(String askImg) {
        this.askImg = askImg;
    }

    public String getAskNote() {
        return askNote;
    }

    public void setAskNote(String askNote) {
        this.askNote = askNote;
    }

    public String getAskVideo() {
        return askVideo;
    }

    public void setAskVideo(String askVideo) {
        this.askVideo = askVideo;
    }

    public String getAskJson() {
        return askJson;
    }

    public void setAskJson(String askJson) {
        this.askJson = askJson;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public String getModifUser() {
        return modifUser;
    }

    public void setModifUser(String modifUser) {
        this.modifUser = modifUser;
    }

    public Date getModifDatetime() {
        return modifDatetime;
    }

    public void setModifDatetime(Date modifDatetime) {
        this.modifDatetime = modifDatetime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getAskMp3() {
        return askMp3;
    }

    public void setAskMp3(String askMp3) {
        this.askMp3 = askMp3;
    }

    public String getArbNote() {
        return arbNote;
    }

    public void setArbNote(String arbNote) {
        this.arbNote = arbNote;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCreateUserImg() {
        return createUserImg;
    }

    public void setCreateUserImg(String createUserImg) {
        this.createUserImg = createUserImg;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsMy() {
        return isMy;
    }

    public void setIsMy(Integer isMy) {
        this.isMy = isMy;
    }

    public String getVconurl() {
        return vconurl;
    }

    public void setVconurl(String vconurl) {
        this.vconurl = vconurl;
    }

    public Integer getIsNowSta() {
        return isNowSta;
    }

    public void setIsNowSta(Integer isNowSta) {
        this.isNowSta = isNowSta;
    }

    public Integer getAskZsd() {
        return askZsd;
    }

    public void setAskZsd(Integer askZsd) {
        this.askZsd = askZsd;
    }

    public Integer getAskXx() {
        return askXx;
    }

    public void setAskXx(Integer askXx) {
        this.askXx = askXx;
    }
}
